package com.ruoyi.cms.chat.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (CmsChatHistory)实体类
 *
 * @author makejava
 * @since 2024-09-04 18:41:04
 */
public class CmsChatHistory implements Serializable {
    private static final long serialVersionUID = 815630916847554531L;

    private Integer id;

    private Integer fromUsername;

    private Integer targetUsername;

    private String content;


    private String sendtime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFromUsername() {
        return fromUsername;
    }

    public void setFromUsername(Integer fromUserId) {
        this.fromUsername = fromUserId;
    }

    public Integer getTargetUsername() {
        return targetUsername;
    }

    public void setTargetUsername(Integer toUserId) {
        this.targetUsername = toUserId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSendtime() {
        return sendtime;
    }

    public void setSendtime(String sendtime) {
        this.sendtime = sendtime;
    }

}

